﻿using UnityEngine;
using System.Collections;
using Dict.DataModel;

namespace UI
{
    [RequireComponent(typeof(PageTweener))]
    public class NPCUIPageTemplete : MonoBehaviour
    {
        public GameObject page;
        public GameObject pref;
        public UIScrollView scrollView;
        public SimpleGrid simpleGrid;

        public TableUnionFightNpc dictData;

        public virtual void SendCSMsg(object o )
        {
            dictData = (TableUnionFightNpc)o;
        }

        public virtual void Init()
        {

        }

        public virtual void Close()
        {
            page.SetActive(false);
        }
    }

}
